package com.wx.service;


import com.wx.common.SecurityUser;
import com.wx.domain.vo.AddressDataVo;
import com.wx.domain.vo.AddressTreeVo;
import com.wx.entity.SysAddress;

import java.util.List;

/**
 * <p>Title:      SysAddressService. </p>
 * <p>Description TODO </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         <a href="xinglinglove1029@163.com"/>杨文生</a>
 * @since      2020/9/15 13:45
 */
public interface SysAddressService extends BaseService<SysAddress> {

    List<SysAddress> getChildrenByParentCode(String parentCode);

    List<SysAddress> getAll();

    int insert(SysAddress sysAddress, SecurityUser authUserDto);

    int updateInfo(SysAddress sysAddress, SecurityUser authUserDto);

    List<AddressTreeVo> treeList();

    List<AddressTreeVo> getAddressTree();

    int delete(String id);

    AddressDataVo getAddressInfo();
}
